home *** CD-ROM | disk | FTP | other *** search
Wrap
bbbbttttoooopppprrrr((((DDDD3333)))) bbbbttttoooopppprrrr((((DDDD3333)))) NNNNAAAAMMMMEEEE _bbbb_tttt_oooo_pppp_rrrr - convert size in bytes to size in pages (round up) SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>> _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>> _uuuu_llll_oooo_nnnn_gggg______tttt _bbbb_tttt_oooo_pppp_rrrr_((((_uuuu_llll_oooo_nnnn_gggg______tttt _n_u_m_b_y_t_e_s_))))_;;;; AAAArrrrgggguuuummmmeeeennnnttttssss _n_u_m_b_y_t_e_s Size in bytes to convert to equivalent size in pages. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _bbbb_tttt_oooo_pppp_rrrr returns the number of pages that are contained in the specified number of bytes, with upward rounding if the byte count is not a page multiple. RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss The return value is the number of pages. There are no invalid input values, and therefore no error return values. UUUUSSSSAAAAGGGGEEEE LLLLeeeevvvveeeellll Initialization, Base or Interrupt. SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss Does not sleep. Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function. EEEExxxxaaaammmmpppplllleeeessss If the page size is 2048, then _bbbb_tttt_oooo_pppp_rrrr_((((_4444_0000_9999_6666_)))) and _bbbb_tttt_oooo_pppp_rrrr_((((_4444_0000_9999_5555_)))) both return 2, and _bbbb_tttt_oooo_pppp_rrrr_((((_4444_0000_9999_7777_)))) returns 3. _bbbb_tttt_oooo_pppp_rrrr_((((_0000_)))) returns 0. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS _bbbb_tttt_oooo_pppp(D3), _pppp_tttt_oooo_bbbb(D3) PPPPaaaaggggeeee 1111